<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>devops-application测试</title>
</head>

<body>
<h3>示例URL：</h3>

<p>
<div>
    <h4>createAppFromImage.do示例URL：</h4>
    http://127.0.0.1:9002/devops-application/createAppFromImage.do?applicationCore.applicationCoreName=test04&applicationCore.applicationCoreUsername=default&applicationCore.applicationCoreType=kubernetes&instanceImage.configImageName=registry.cn-hangzhou.aliyuncs.com/xuyuanjia/docker&instanceImage.configImageTag=tomcat-centos&configBasic.configBasicCpu=200m&configBasic.configBasicMemory=500&configBasic.configBasicNetwork=calico&configPortsListString=8080;&configEnvsListString=XYJ_PATH:/root;&configVolumesListString=local:local-name:/opt:NFSFileSys;&instanceReplica=1&ip=40.125.203.202&instanceImage.configImageSecret=my-secret&envId=0
</div>
</p>


<p>
<div>
    <h4>createRawApplication.do示例URL：</h4>
    http://IP:9002/devops-application/createRawApplication.do?applicationCore.applicationCoreName=test&applicationCore.applicationCoreUsername=default&applicationCore.applicationCoreType=kubernetes&envId=1
</div>
</p>

<p>
<div>
    <h4>addConfigVersion.do示例URL：</h4>
    http://127.0.0.1:9002/devops-application/addConfigVersion.do?applicationCore.applicationCoreId=156&cc.configCoreId=185&configBasic.configBasicCpu=200m&configBasic.configBasicMemory=500&configBasic.configBasicNetwork=network1&configPortsListString=8080;8888;&configEnvsListString=XYJ_PATH1:/root;XYJ_PATH:/root;&configVolumesListString=local:local-name:/root/apache-tomcat-9.0.0.M21/logs:localFileSystem;local:local-name:/root/apache-tomcat-9.0.0.M21/logs:localFileSystem1;
    <br /><br />
</div>
</p>

<p>
<div>
    <h4>constructApplicationConfig.do示例URL：</h4>
    http://127.0.0.1:9002/devops-application/constructApplicationConfig.do?applicationCore.applicationCoreId=243&ip=40.125.203.202&instanceImage.configImageName=registry.cn-hangzhou.aliyuncs.com/xuyuanjia/docker&instanceImage.configImageTag=tomcat-centos&instanceImage.configImageSecret=my-secret&configBasic.configBasicCpu=200m&configBasic.configBasicMemory=500&configBasic.configBasicNetwork=network1&configPortsListString=8080;&configEnvsListString=XYJ_PATH:/opt;&configVolumesListString=local:local-name:/root/apache-tomcat-9.0.0.M21/logs:localFileSystem;&instanceReplica=1&cc.configCoreId=282
    <br /><br />

    http://IP:9002/devops-application/constructApplicationConfig.do?applicationCore.applicationCoreId=103&ip=40.125.203.202&instanceImage.configImageName=registry.cn-hangzhou.aliyuncs.com/xuyuanjia/docker&instanceImage.configImageTag=tomcat-centos&instanceImage.configImageSecret=my-secret&instanceReplica=1&configCore.configCoreId=112
</div>
</p>

<p>
<div>
    <h4>getApplicationListByUsername.do示例URL：</h4>
    http://IP:9002/devops-application/getApplicationListByUsername.do?applicationCore.applicationCoreUsername=default&page=1&rows=10
</div>
</p>

<p>
<div>
    <h4>getApplicationDetails.do示例URL：</h4>
    http://IP:9002/devops-application/getApplicationDetails.do?applicationCore.applicationCoreId=103
</div>
</p>

<p>
<div>
    <h4>getApplicationConfigVersion.do示例URL：</h4>
    http://IP:9002/devops-application/getApplicationConfigVersion.do?applicationCore.applicationCoreId=103
</div>
</p>

<p>
<div>
    <h4>getApplicationImageVersion.do示例URL：</h4>
    http://IP:9002/devops-application/getApplicationImageVersion.do?applicationCore.applicationCoreId=141&rows=5&page=1
</div>
</p>

<p>
<div>
    <h4>getOneApplicationConfigInfo.do示例URL：</h4>
    http://IP:9002/devops-application/getOneApplicationConfigInfo.do?air.confiCoreId=98
</div>
</p>

<p>
<div>
    <h4>changePolicy.do示例URL：</h4>
    http://IP:9002/devops-application/changePolicy.do?policyIndex=0&applicationCore.applicationCoreId=55&imageNameTag=registry.cn-hangzhou.aliyuncs.com/xuyuanjia/docker:tomcat-centos&&instanceCount=1
</div>
</p>

<p>
<div>
    <h4>changePolicy.do示例URL：</h4>
    http://IP:9002/devops-application/changePolicy.do?policyIndex=0&applicationCore.applicationCoreId=55&imageNameTag=registry.cn-hangzhou.aliyuncs.com/xuyuanjia/docker:tomcat-centos&&instanceCount=1
</div>
</p>

<p>
<div>
    <h4>changeDeployer.do示例URL：</h4>
    http://IP:9002/devops-application/changeDeployer.do?applicationCore.applicationCoreId=141&conversionType=number&currentVersion=tomcat:latest&oldVersion=registry.cn-hangzhou.aliyuncs.com/xuyuanjia/docker:tomcat-centos&number=1
    <br /><br />
    http://IP:9002/devops-application/changeDeployer.do?applicationCore.applicationCoreId=62&conversionType=number&oldVersion=tomcat:latest&currentVersion=registry.cn-hangzhou.aliyuncs.com/xuyuanjia/docker:tomcat-centos&number=1
    <br /><br />
    http://IP:9002/devops-application/changeDeployer.do?applicationCore.applicationCoreId=62&conversionType=scale&currentVersion=tomcat:latest&oldVersion=registry.cn-hangzhou.aliyuncs.com/xuyuanjia/docker:tomcat-centos&factor=0.5
    <br /><br />
</div>
</p>

<p>
<div>
    <h4>getApplicationListByMultipleFields.do示例URL：</h4>
    http://IP:9002/devops-application/getApplicationListByMultipleFields.do?applicationCore.applicationCoreName=test&applicationCore.applicationTenantId=1&applicationCore.applicationCoreUsername=default&applicationCore.applicationRuntimeId=1
    <br /><br />
</div>
</p>

<p>
<div>
    <h4>deleteApplication.do示例URL：</h4>
    http://127.0.0.1:9002/devops-application/deleteApplication.do?applicationCore.applicationCoreId=156
    <br /><br />
</div>
</p>

<p>
<div>
    <h4>getApplicationStatisticalInfo.do示例URL：</h4>
    http://127.0.0.1:9002/devops-application/getApplicationStatisticalInfo.do
    <br /><br />
</div>
</p>


<p>
/root/apache-tomcat-9.0.0.M21/logs
</p>
</body>
</html>